package com.itheima.service;

import com.itheima.common.PageResult;
import com.itheima.common.UserPage;
import com.itheima.pojo.BsUser;

import java.util.List;

public interface UsersService {
    void update(Long id, BsUser bsUser);

    UserPage findList(Long page, Long pagesize, String username);

    void add(BsUser bsUser);

    void deleteById(Long id);

    void updateStatus(Long id, boolean disabled);

    List simpleList(String keyword, Integer disabled);

    BsUser findById(Long id);

    void modifyPassword(Long id, String password);
}
